package com.iflysse.services;

import com.iflysse.pojo.bo.CommonBoResp;
import com.iflysse.pojo.bo.req.AddLabelBoReq;
import com.iflysse.pojo.bo.req.DeleteLabelBoReq;
import com.iflysse.pojo.bo.req.LabelBoReq;
import com.iflysse.pojo.bo.resp.LabelAllBoResp;

import java.sql.SQLException;

public interface LabelService {
    /**
     * 添加标签
     * @param addLabelBoReq
     * @return
     */
    CommonBoResp addLabel(AddLabelBoReq addLabelBoReq) throws SQLException;

    /**
     * 修改标签
     * @param labelBoReq
     * @return
     */
    CommonBoResp updateLabel(LabelBoReq labelBoReq) throws SQLException;

    /**
     * 删除标签
     * @param deleteLabelBoReq
     * @return
     */
    CommonBoResp deleteLabel(DeleteLabelBoReq deleteLabelBoReq) throws SQLException;

    /**
     * 获取所有的标签
     * @return 标签
     */
    LabelAllBoResp getAllLabels() throws SQLException;



}
